package cn.dglydrpy.fundmanagement.service;

import cn.dglydrpy.fundmanagement.service.dto.InvestmentGoalDto;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;

public interface IInvestmentGoalService {
    int saveInvestmentGoal(InvestmentGoalDto investmentGoalDto);
    void updateInvestmentGoal(InvestmentGoalDto investmentGoalDto);
    void deleteInvestmentGoal(Long id);
    InvestmentGoalDto getInvestmentGoalById(Long id);
    Page<InvestmentGoalDto> getInvestmentGoalsByConditions(String portfolioId, String goalType, String achieved, int pageNo, int pageSize);
    List<InvestmentGoalDto> getAllInvestmentGoals();
    void checkAndSendReminders();
}